﻿

	
<!DOCTYPE html>  
<html>  
<head>  
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">  
    <meta name="keywords" content="职位监控">  
    <meta name="description" content="职位监控">  
    <title>职位监控</title>  
    
    <%@ include file="/WEB-INF/inc/default.jsp"%>
    <jsp:include page="/WEB-INF/inc/dic.jsp"/>

</head> 
 
<body>  
    
      
    <table id="dg"  style="height:555px"  
            url="/talent/cv/extsuccesscvlist.do"  
            toolbar="#toolbar" pagination="true"  
            rownumbers="true" pageSize="20" fitColumns="true" loadMsg="正在查询,请稍候..." singleSelect="false">  

    </table>  
    <div id="toolbar">  
    	  <form>
        员工:<input class="easyui-combobox"   name="account" style="width:100px;"  data-options="url:'/auth/systemUser/userlist.do',valueField:'account', textField:'name', multiple:false,panelHeight:'auto',mode:'remote' ">
        部门:<input class="easyui-combobox"   name="deptId" style="width:150px;"  data-options="url:'/auth/systemBranchDept/deptlist.do',valueField:'id', textField:'name', multiple:false,panelHeight:'auto',mode:'remote' ">
        开始日期:<input name="beginD" data-options="formatter:formateDate" style="width:100px;" class="easyui-datebox">
        结束日期:<input name="endD" data-options="formatter:formateDate" style="width:100px;" class="easyui-datebox">       
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="quickQuery()">查询</a>
        </form>
    </div>  
    
   
    
    <script type="text/javascript">  
        var url;  
        
        
		    
		  
        
        
      
        function reload(){        	
        	  $('#dg').datagrid('reload');
        }
        function find(){  
              
                //$('#dlg_query').dialog('open').dialog('setTitle','查询');  
                
                //url = '/project/contractJobCvOffer/list.do';  
                 queryWin.window('open');   
                 queryWin.openWin=window; 
              
        } 
        function quickQuery(){                                  
                var formdata='{';
                formdata='custName:'+'"'+$('#input_custName').val()+'"'+'}';
                formdata=',jobName:'+'"'+$('#input_jobName').val()+'"'+'}';
                formdata=',cvName:'+'"'+$('#input_cvName').val()+'"'+'}';
                formdata='}';
                
                var jsondata=eval('('+formdata+')');
                
                //if (!$('#fm_query').form('validate')) return; 
                $('#dg').datagrid({
	                  queryParams: jsondata
                });
               //$('#dlg_query').dialog('close');
              
        }
        	
        function query(formdata){  
                
                $('#dg').datagrid({
	                  queryParams: array2json(formdata)
                });
              
        }
        
        //生成grid的字段,需要字典的自动转换
        $('#dg').datagrid({
        	   columns:[[
        	   
        	   	        	   	        	   	
        	   	   {field:'name',title:'姓名', width:100}
        	   	   ,{field:'deptName',title:'部门', width:100}
        	   	   ,{field:'jobRole',title:'职位角色', width:100}
        	   	   ,{field:'statusName',title:'状态', width:100}
        	   	   ,{field:'jobActiveCount',title:'活跃职位', width:100}
        	   	   ,{field:'jobNewCount',title:'新增职位', width:100}
        	   	   
        	   	   
        	   	
        	   	
        	   ]]
        	   
        }); 
        //完成-生成grid的字段
        
        
        
    </script>  
     
     

     
     
     
</body>  
</html>